

    const config = require('../config/db-config')
    const Sequelize = require('sequelize')
    const {QueryTypes,DataTypes} = require('sequelize')

    let sequelizeObj = new Sequelize(
        config.webapp.database,
        config.webapp.user,
        config.webapp.password,
        config.sequelize
    )

    const user = require('../model/users')(sequelizeObj, DataTypes)
    const courseType = require('../model/courseType')(sequelizeObj, DataTypes)

    module.exports = {user, courseType}